package com.zlkj.pro;

import cn.stylefeng.roses.kernel.db.starter.GunsDataSourceAutoConfiguration;
import cn.stylefeng.roses.kernel.file.starter.GunsFileAutoConfiguration;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * SpringBoot方式启动类
 *
 * @author fengshuonan
 * @date 2020/12/1 17:50
 */
@Slf4j
@EnableScheduling
@SpringBootApplication(scanBasePackages = {"com.zlkj", "cn.stylefeng"}, exclude = {FlywayAutoConfiguration.class, GunsDataSourceAutoConfiguration.class})
public class RHZXApplication {

    public static void main(String[] args) {
        SpringApplication.run(RHZXApplication.class, args);
        log.info("{} is success!", RHZXApplication.class.getSimpleName());
    }

}

